<?php
if ($login->errors) {
    foreach ($login->errors as $error) {
        echo $error;    
    }
}


if ($login->messages) {
    foreach ($login->messages as $message) {
        echo $message;
    }
}

?>
 <div id="advancedCall">
      
    <form method="post" action="index.php" target="_self"  id="loginForm">
        <input class="demo login_input" type="text"     name="user_name"     id="user_name" value="Usuario" />
        <input class="demo login_input" type="password" name="user_password" id="user_password" value="" />
        <input type="hidden" name="login"  value="Log in" />

    </form>
    <div class="button"  >
        <a href="#" id="ingresarBtn" target="_self" title="Ingresar">Ingresar</a>
    </div>
    <div class="button"  >
        <a href="Registracion.php"  id="registraseBtn" target="_self" title="Registrarse">Registrarse</a>
    </div>
 </div>
